<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    table {
      margin: 0px auto;
      border-collapse: collapse;
      border: 5px solid black;
    }

    td {
      border-radius: 50%;
      width: 40px;
      height: 40px;
      border: none
    }

    .bgc1 {
      background-color: black;
    }

    .bgc2 {
      background: url(./pngsucai_512252_f77802.png) no-repeat;
      background-size: 100%;
      z-index: 1;
    }

    .bgc3 {
      background: url(./92034446ddc7a91edec038f2d69415fd.jpeg)no-repeat;
      background-size: 100%;
      z-index: 9;
    }

    .defen {
      font-size: 30px;
      position: absolute;
      top: 40%;
      right: 20px;
    }
  </style>
</head>

<body>
  <table></table>
  <div class="defen">
    键盘上下左右控制,Enter键暂停
    <br>
    <br>
    得分
    <br>
    <span>0</span>
  </div>
  <script src="./贪吃蛇2.0.js"></script>
</body>

</html>